package com.htu.courseService.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.htu.courseService.exam.vo.AnswerDto;
import com.htu.courseService.exam.vo.ExamDto;
import com.htu.courseService.exam.vo.ExamInfoDto;
import com.htu.courseService.exam.vo.ExamQuery;

public interface ExamService {
    void submitExam(ExamDto examDto);

    IPage<ExamInfoDto> pageInfo(ExamQuery examQuery);

    ExamDto getExamDetail(Integer examId);

    IPage<ExamInfoDto> getMyPageInfo(ExamQuery examQuery);

    void submitExamDetail(AnswerDto answerDto);

    ExamDto getMyExamDetail(Integer examId);
}
